﻿using System;
using System.Collections.Generic;
using SGAEntidades;

namespace SGALogicaNegocio
{
    public class Vehiculo
    {
        private static readonly SGAInterfaces.IVehiculo DalVehiculo = new SGAAccesoDatos.Vehiculo();

        public IList<VehiculoInfo> Listar(VehiculoInfo oVehiculo)
        {
            return DalVehiculo.Listar(oVehiculo);
        }

        public VehiculoInfo Consultar(VehiculoInfo oVehiculo)
        {
            return DalVehiculo.Consultar(oVehiculo);
        }

        public bool Registrar(VehiculoInfo oVehiculo)
        {
            return DalVehiculo.Registrar(oVehiculo);
        }

        public bool Actualizar(VehiculoInfo oVehiculo)
        {
            return DalVehiculo.Actualizar(oVehiculo);
        }
    }
}
